package cn.oms.manage.service;

import cn.oms.commons.pojo.vo.PageData;
import cn.oms.manage.pojo.param.MedicineAddNewParam;
import cn.oms.manage.pojo.param.MedicineUpdateParam;
import cn.oms.manage.pojo.vo.MedicineListVO;
import cn.oms.manage.pojo.vo.MedicineStandardVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IMedicineService {
    void addNew(MedicineAddNewParam medicineAddNewParam);

    void delete(Long id);

    void updateInfoById(Long id, MedicineUpdateParam medicineUpdateParam);

    MedicineStandardVO getStandardById(Long id);

    PageData<MedicineListVO> listByCategoryId(Long categoryId);

}
